# Warning, this is a totally stupid Makefile that will not check for anything 
# nor take care if something goes wrong. I don't take responsibility if it 
# will delete all your data or burn down your computer.
#
# makefile for cips
#
#uncomment line according to your compiler
#COMP = g77
COMP = gfortran -std=legacy

all : cip1Afw4tilts.f cip1B.f cip2.f cip4.f
	$(COMP)  -o cip1A cip1Afw4tilts.f
	$(COMP)  -o cip1B cip1B.f
	$(COMP)  -o cip2 cip2.f
	$(COMP)  -o cip4 cip4.f


clean :
	@ - rm -f {cip1A,cip1B,cip2,cip4} >/dev/null 2>&1

install : 
	@ echo "copy binaries to /usr/local/bin"
	@ cp {cip1A,cip1B,cip2,cip4} /usr/local/bin

